/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package beans;

/**
 *
 * @author JoseHernan
 */
public class B_Usuario {

    private int id;
    private String usuario;
    private String password;
    private B_Persona objPersona;
    private String user;

    public B_Usuario() {
        this.id = 0;
        this.usuario = "";
        this.password = "";
        this.objPersona = new B_Persona();
        this.user = "";
    }

    public B_Usuario(int id, String usuario, String password, B_Persona objPersona, String user) {
        this.id = id;
        this.usuario = usuario;
        this.password = password;
        this.objPersona = objPersona;
        this.user = user;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getUsuario() {
        return usuario;
    }

    public void setUsuario(String usuario) {
        this.usuario = usuario;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public B_Persona getObjPersona() {
        return objPersona;
    }

    public void setObjPersona(B_Persona objPersona) {
        this.objPersona = objPersona;
    }

    public String getUser() {
        return user;
    }

    public void setUser(String user) {
        this.user = user;
    }

}
